package com.jt.ktdemo

import android.app.Application
import com.jt.ktdemo.utils.LogUtil

class MyApplication : Application() {

    override fun onCreate() {
        super.onCreate()
        LogUtil.init(true)
        instance = this
    }

    companion object {
        private var instance: MyApplication? = null
        fun getInstance() = instance!!

        /**
         * 部分成员变量
         */
        public var session : String = ""
    }


}